package com.sgb.kjwl.view.ui.adapter;

import android.content.Context;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.sgb.kjwl.model.entity.business.ApproveEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class ApproveAdapter extends BaseRecycleAdapter<ApproveEntity> {

    public ApproveAdapter(Context context, List<ApproveEntity> datas) {
        super(context, R.layout.item_approve, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final ApproveEntity entity) {
        holder.setBinding(BR.viewModel, entity);
    }
}
